## prepareEscrowCancellation

`prepareEscrowCancellation(address: string, escrowCancellation: object, instructions: object): Promise<object>`

Prepare an escrow cancellation transaction. The prepared transaction must subsequently be [signed](#sign) and [submitted](#submit).

### Parameters

<%- renderSchema('input/prepare-escrow-cancellation.json') %>

### Return Value

This method returns a promise that resolves with an object with the following structure:

<aside class="notice">
All "prepare*" methods have the same return type.
</aside>

<%- renderSchema('output/prepare.json') %>

### Example

```javascript
const address = 'r9cZA1mLK5R5Am25ArfXFmqgNwjZgnfk59';
const escrowCancellation = <%- importFile('test/fixtures/requests/prepare-escrow-cancellation.json') %>;
return api.prepareEscrowCancellation(address, escrowCancellation).then(prepared =>
  {/* ... */});
```

<%- renderFixture('responses/prepare-escrow-cancellation.json') %>
